package cn.mesmile.workflow.process.wrapper;

import cn.mesmile.workflow.process.vo.DoneProcessVO;
import cn.mesmile.workflow.support.BaseEntityWrapper;
import org.flowable.engine.history.HistoricProcessInstance;

/**
 * @author zb
 * @Description
 */
public class DoneProcessWrapper extends BaseEntityWrapper<HistoricProcessInstance, DoneProcessVO> {

    public static DoneProcessWrapper build() {
        return new DoneProcessWrapper();
    }


    @Override
    public DoneProcessVO entityVO(HistoricProcessInstance entity) {
        DoneProcessVO doneProcessVO = new DoneProcessVO(entity);

        return doneProcessVO;
    }
}
